<?php
	require 'config.php';
	require 'single-side.php';

	$title = 'html5网页';
	$id = intval($_GET['id'])?$_GET['id']:null;
	$product = $_->product->_select('',array('id'=>$id));
	$product = $product[0];

	$smarty->_assign(array('title','product'));
	if(!$product)$temp="erro.html";
	$smarty->_display($temp);
?>